package org.ciallo.easytokencore.exception;

/**
 * Easy-Token 登录失败异常
 *
 * <p>异常场景：</p>
 * <ul>
 *   <li>用户名或密码错误</li>
 *   <li>账户被锁定</li>
 *   <li>登录验证失败</li>
 *   <li>多设备登录冲突</li>
 * </ul>
 *
 * <p>继承关系：</p>
 * <pre>
 * {@code
 * EasyTokenException
 *     └── EasyLoginException
 * }
 * </pre>
 *
 * <p>使用示例：</p>
 * <pre>
 * {@code
 * if(!userService.checkPassword(user, password)) {
 *     throw new EasyLoginException(int code, "用户名或密码错误");
 * }
 * }
 * </pre>
 *
 * @Description: Easy-Token 登录失败异常
 * @Author: Jukomu
 * @Package: org.ciallo.easytokencore.exception
 * @Project: easy-token-demo
 * @Version: 1.0.0
 * @name: EasyLoginException
 * @Date: 2025-05-17
 * @Filename: EasyLoginException
 * @see EasyTokenException
 */
public class EasyLoginException extends EasyTokenException {
    public EasyLoginException(String message) {
        super(message);
    }

    public EasyLoginException(int code, String message) {
        super(code, message);
    }
}
